package utilities;

/**
 * Class storing minimum and maximum pairs.
 * @author pcdejager
 * @param <T> The type
 */
public final class MinMaxPair<T> {
    /**
     * Constructor.
     * @param min The min value
     * @param max The max value
     */
    public MinMaxPair(final T min, final T max) {
        minimum = min;
        maximum = max;
    }
    /**
     * Get the minimum.
     * @return The minimum
     */
    public T getMinimum() {
        return minimum;
    }
    /**
     * Get the maximum.
     * @return The maximum
     */
    public T getMaximum() {
        return maximum;
    }
    /**
     * The minimum.
     */
    private final T minimum;
    /**
     * The maximum.
     */
    private final T maximum;
}
